package com.hrzyit.whistle.user.injection.module

import com.hrzyit.whistle.user.service.IUserService
import com.hrzyit.whistle.user.service.impl.UserServiceImpl
import dagger.Module
import dagger.Provides

/**
 * 用户模块 Module
 * @author YangWei
 * @date 2019/3/22
 */
@Module
open class UserModule {

    /**
     * IUserService Provides
     */
    @Provides
    fun provideUserService(service:UserServiceImpl):IUserService {
        // Dagger2 生成 service 实例对象
        return service
    }
}